import javax.swing.*;

/**
 * ClassName:Main
 * Description:
 * author: jiuyang
 * DateTime: 2024/8/7 上午11:14
 */
public class Main {
    public static void main(String[] args) {

        JFrame jFrame  = new JFrame("贪吃蛇");

        jFrame.setBounds(400,50,700,700);

        jFrame.setResizable(false);

        jFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

        jFrame.add(new MyPanel());

        jFrame.setVisible(true);


    }
}
